//
//  JSFontManager.m
//  JigSaw
//
//  Created by Apple on 15/4/7.
//  Copyright (c) 2015年 LITB. All rights reserved.
//

#import "JSFontManager.h"

@implementation JSFontManager

MACRO_SHARED_INSTANCE_IMPLEMENTATION(JSFontManager)

- (UIFont *)baskervilleItalicFontWithSize:(CGFloat)size
{
    UIFontDescriptor * fontDescriptor = [UIFontDescriptor fontDescriptorWithName:@"Baskerville-Italic" size:size];
    return [UIFont fontWithDescriptor:fontDescriptor size:size];
}

- (UIFont *)dinCondensedFontWithSize:(CGFloat)size
{
    UIFontDescriptor * fontDescriptor = [UIFontDescriptor fontDescriptorWithName:@"DIN Condensed" size:size];
    return [UIFont fontWithDescriptor:fontDescriptor size:size];
}

- (UIFont *)snellRoundhandFontWithSize:(CGFloat)size
{
    UIFontDescriptor * fontDescriptor = [UIFontDescriptor fontDescriptorWithName:@"Snell Roundhand" size:size];
    return [UIFont fontWithDescriptor:fontDescriptor size:size];
}

- (UIFont *)tamiilSangamMNFontWithSize:(CGFloat)size
{
    UIFontDescriptor * fontDescriptor = [UIFontDescriptor fontDescriptorWithName:@"Tamil Sangam MN" size:size];
    return [UIFont fontWithDescriptor:fontDescriptor size:size];
}

- (UIFont *)sourceHanSansExtraLightFontWithSize:(CGFloat)size
{
    UIFont * font = [UIFont fontWithName:@"SourceHanSans-ExtraLight" size:size];
    return font;
}

- (UIFont *)sourceBigJohnFontWithSize:(CGFloat)size
{
    UIFont * font = [UIFont fontWithName:@"BIG JOHN" size:size];
    return font;
}

- (UIFont *)heitiSCLightFontWithSize:(CGFloat)size
{
    UIFontDescriptor * fontDescriptor = [UIFontDescriptor fontDescriptorWithName:@"STHeitiSC-Light" size:size];
    return [UIFont fontWithDescriptor:fontDescriptor size:size];
}

@end
